﻿@model Project.Domain.Entities.Match
@{
    ViewBag.Title = "endmatch";
}
<div id="menucontainer">
    <ul id="menu" style=" text-align:left;">
        <li>@Html.ActionLink("League", "ListallLeague", "Managebets")</li>        
        <li>@Html.ActionLink("listmatches", "Listmatches", "Managebets")</li>
        <li>@Html.ActionLink("listbets", "listbets", "Managebets")</li>
        <li>@Html.ActionLink("userbets", "userbets", "Managebets")</li>
    </ul>
</div>

<h2>
    @Model.SoccerTeam_Home.TeamName vs @Model.SoccerTeam_Away.TeamName
</h2>
@using (Html.BeginForm())
{
    <div>
    <label>Score Home</label>
    @Html.HiddenFor(m=>m.MatchID)
    @Html.TextBoxFor(m=>m.HomeScore)
    @Html.ValidationMessageFor(m=>m.HomeScore)
    </div>
    <div style=" padding-top:5px;">
    <label>Score Away</label>
    @Html.TextBoxFor(m=>m.AwayScore) 
    @Html.ValidationMessageFor(m => m.AwayScore)
    </div>
    <div style=" padding-left:100px;">
    <input type="submit" name="name" value="save" />
    </div>
}